<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="{$BASE_V}layout.css" rel="stylesheet" type="text/css" />
<title>TBlog博客系统</title>
<script type="text/javascript" src="{$BASE}js/tools.js"></script>
<script language="javascript">
var php_self = '{PHP_SELF}';
</script>
<script type="text/javascript" src="{$BASE_V}comment.js"></script>
</head>
<body>

<div style="z-index: 1; right: 20px; top: 30px; color: rgb(255, 255, 255); position: absolute; display: none;" id="loading"><img src="{$BASE_V}images/loader.gif"></div>

<div id="main">
  <div class="main_box">    
<!--{if $action == 'add' }-->    
<h2>编辑评论</h2>
<form name="modform" id="forms" action="{PHP_SELF}?m=comment.save" method="post"  onSubmit="return chkForm();">    
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="t_list">
      <tbody><tr>
        <td width="100" class="td_right">所在文章：</td>
        <td class="td_left">$editinfo[title]</td>
      </tr>
      <tr>
        <td width="100" class="td_right">评论作者：</td>
        <td class="td_left"><input type="text" size="40" value="$editinfo[comment_author]" id="comment_author" name="comment_author">
         </td>
      </tr>
      <tr>
        <td width="100" class="td_right">电子邮件：</td>
        <td class="td_left"><input type="text" size="40" value="$editinfo[comment_author_email]" id="comment_author_email" name="comment_author_email">
         </td>
      </tr> 
      <tr>
        <td width="100" class="td_right">评论作者联系方式：</td>
        <td class="td_left"><input type="text" size="40" value="$editinfo[comment_author_url]" id="comment_author_url" name="comment_author_url">
         </td>
      </tr>             
      <tr>
        <td width="100" class="td_right">评论内容：</td>
        <td class="td_left"><textarea name="comment_content" id="comment_content" cols="68" rows="10">$editinfo[comment_content]</textarea>
         </td>
      </tr>            
      
      <tr>
        <td class="td_right">&nbsp;</td>
        <td class="td_left">
          <input type="hidden" value="$editinfo[comment_id]" name="comment_id">
          <input type="submit" value="提交" id="submit" onmouseout="this.className='btn05'" onmouseover="this.className='btn06'" class="btn05" name="submit">
          <input type="reset" class="btn05" value="清除" name="reset_button">
          <input type="button" value="返回" onclick="history.back(1);" class="btn05" id="backbutton" name="backbutton"></td>
      </tr>
    
    </tbody></table>
</form>    
<!--{/if}-->

<!--{if $action == 'show' }-->    
<h2>$showtype</h2>
<table width="620" border="1" align="center" bordercolor="#cccccc" style="border-collapse:collapse">
  <col width="62" />
  <col width="129" />
  <col width="75" />
  <col width="99" />
  <col width="63" />
  <col width="67" />
  <col width="28" />
  <col width="29" />
  <col width="30" />
  <col width="32" />
  <tr>
    <td colspan="11" align="center"></td>
  </tr>
  <tr>
    <td width="59" rowspan="6" align="center">基本信息</td>
    <td>姓名：</td>
    <td width="101">$editinfo[comment_author]</td>
    <td width="73">性别：</td>
    <td width="137">$sex</td>
    <td rowspan="6" colspan="5"><span id="thumb_preview"><img src="$editinfo[comment_author_url]" /></span></td>
  </tr>
  <tr>
    <td>学历：</td>
    <td>$content[xueli]</td>
    <td>籍贯：</td>
    <td>$content[jiguan]</td>
  </tr>
  <tr>
    <td>毕业院校：</td>
    <td>$content[xuexiao]</td>
    <td>专业：</td>
    <td>$content[zhuanye]</td>
  </tr>
  <tr>
    <td width="64">生日：</td>
    <td>$content[shengri]</td>
    <td>婚否：</td>
    <td>$hunyin</td>    
  </tr>
  <tr>
    <td>电话：</td>
    <td>$editinfo[comment_author_tel]</td>
    <td></td>
    <td></td>    
  </tr>
  <tr>
    <td></td>
    <td colspan="3"></td>
  </tr>  
  <tr>
    <td width="59">通信地址</td>
    <td colspan="11">$editinfo[comment_address]</td>
  </tr>
  <tr>
    <td rowspan="9" align="center">专业方面</td>
    <td>自我介绍：</td>
    <td colspan="11">$content[jieshao]</td>
  </tr>
  <tr>
    <td>工作经历：</td>
    <td colspan="11">$content[jingli]</td>
  </tr>
  <tr>
    <td>原销售业绩：</td>
    <td colspan="11">$content[yeji]</td>
  </tr>
  <tr>
    <td>原工作职务和工资：</td>
    <td colspan="11">$content[gongzi]</td>
  </tr>
  <tr>
    <td>对销售工作的看法：</td>
    <td colspan="11">$content[kanfa]</td>
  </tr>
  <tr>
    <td>对本公司的印象：</td>
    <td colspan="11">$content[yingxiang]</td>
  </tr>
  <tr>
    <td>对本公司的希望：</td>
    <td colspan="11">$content[xiwang]</td>
  </tr>
  <tr>
    <td>期望发展方向：</td>
    <td colspan="11">$content[fangxiang]</td>
  </tr>
  <tr>
    <td>工资要求：</td>
    <td colspan="4">$content[gongziyaoqiu]</td>
    <td colspan="4">到岗时间：$content[daogang]</td>
  </tr>
  <tr>
    <td rowspan="10" align="center">综合素质</td>
    <td>项目</td>
    <td colspan="5">评定标准</td>
    <td width="140" colspan="4">优/良/中/劣</td>
  </tr>
  <tr>
    <td>仪表</td>
    <td colspan="5">外表整洁、着装干净、身体健康</td>
    <td colspan="4">${comment::showtype($content[yb])}</td>
  </tr>
  <tr>
    <td>口才</td>
    <td colspan="5">吐字清晰、用词恰当、表达透彻、逻辑性强　　　</td>
    <td colspan="4">${comment::showtype($content[kc])}</td>
  </tr>
  <tr>
    <td>经验</td>
    <td colspan="5">专业工作经验及同类工作经验丰富</td>
    <td colspan="4">${comment::showtype($content[jy])}</td>
  </tr>
  <tr>
    <td>智慧</td>
    <td colspan="5">思路敏捷、考虑细致、分析合理、理解力强　　　</td>
    <td colspan="4">${comment::showtype($content[zh])}</td>
  </tr>
  <tr>
    <td>进取</td>
    <td colspan="5">上进心强、不过分计较权利地位</td>
    <td colspan="4">${comment::showtype($content[jq])}</td>
  </tr>
  <tr>
    <td>毅力</td>
    <td colspan="5">不屈不挠、不轻易变更工作</td>
    <td colspan="4">${comment::showtype($content[yl])}</td>
  </tr>
  <tr>
    <td>说服</td>
    <td colspan="5">能引人注意、激发兴趣、辩论能力强　　　</td>
    <td colspan="4">${comment::showtype($content[sf])}</td>
  </tr>
  <tr>
    <td>成熟</td>
    <td colspan="5">目标明确、责任心强。认识现实、自律能力强　　　</td>
    <td colspan="4">${comment::showtype($content[cs])}</td>
  </tr>
  <tr>
    <td>抱负</td>
    <td colspan="5">谋求发展、发挥潜能、争取最大工作成绩　　　</td>
    <td colspan="4">${comment::showtype($content[bf])}</td>
  </tr>
  <tr>
    <td rowspan="3" align="center">综合评估</td>
    <td>评语：</td>
    <td colspan="11">$content[pingyu]</td>
  </tr>
  <tr>
    <td>面试参与人意见：</td>
    <td colspan="11">$content[yijian]</td>
  </tr>

  <tr>
    <td>主聘面谈人意见：</td>
    <td colspan="11">$content[miantanyijian]</td>
  </tr>

</table>
<!--{/if}-->

<!--{if $action == 'show_gc' }-->    
<h2>$showtype</h2>
<table width="620" border="1" align="center" bordercolor="#cccccc" style="border-collapse:collapse">
  <col width="62" />
  <col width="129" />
  <col width="75" />
  <col width="99" />
  <col width="63" />
  <col width="67" />
  <col width="28" />
  <col width="29" />
  <col width="30" />
  <col width="32" />
  <tr>
    <td colspan="11" align="center"></td>
  </tr>
  <tr>
    <td width="59" rowspan="6" align="center">基本信息</td>
    <td>姓名：</td>
    <td width="101">$editinfo[comment_author]</td>
    <td width="73">性别：</td>
    <td width="137">$sex</td>
    <td rowspan="6" colspan="5"><span id="thumb_preview"><img src="$editinfo[comment_author_url]" /></span></td>
  </tr>
  <tr>
    <td>学历：</td>
    <td>$content[xueli]</td>
    <td>籍贯：</td>
    <td>$content[jiguan]</td>
  </tr>
  <tr>
    <td>毕业院校：</td>
    <td>$content[xuexiao]</td>
    <td>专业：</td>
    <td>$content[zhuanye]</td>
  </tr>
  <tr>
    <td width="64">生日：</td>
    <td>$content[shengri]</td>
    <td>婚否：</td>
    <td>$hunyin</td>    
  </tr>
  <tr>
    <td>电话：</td>
    <td>$editinfo[comment_author_tel]</td>
    <td></td>
    <td></td>    
  </tr>
  <tr>
    <td></td>
    <td colspan="3"></td>
  </tr>  
  <tr>
    <td width="59">通信地址</td>
    <td colspan="11">$editinfo[comment_address]</td>
  </tr>
  <tr>
    <td rowspan="7" align="center">专业方面</td>
    <td>自我介绍：</td>
    <td colspan="11">$content[jieshao]</td>
  </tr>
  <tr>
    <td>工作经历：</td>
    <td colspan="11">$content[jingli]</td>
  </tr>
  <tr>
    <td>原工作职务和工资：</td>
    <td colspan="11">$content[gongzi]</td>
  </tr>
  <tr>
    <td>对本公司的印象：</td>
    <td colspan="11">$content[yingxiang]</td>
  </tr>
  <tr>
    <td>对本公司的希望：</td>
    <td colspan="11">$content[xiwang]</td>
  </tr>
  <tr>
    <td>期望发展方向：</td>
    <td colspan="11">$content[fangxiang]</td>
  </tr>
  <tr>
    <td>工资要求：</td>
    <td colspan="3">$content[gongziyaoqiu]</td>
    <td colspan="3">到岗时间：$content[daogang]</td>
  </tr>
 

</table>
<!--{/if}-->

    
<!--{if $action == 'index' }-->
<h2>评论管理</h2>
<form method="POST" action="{PHP_SELF}?m=comment" onSubmit="return checkSearchForm();">
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="t_list">
   <tr>
	<td align="center">
    显示 : 
    <select name="comment_approved" id="comment_approved">
        $comment_type_ary_option
    </select>
         	　
	关键词：<input type="text" name="search_keyword" value="">　
	<input type="submit" name="search_btn" value="　搜索　">
	</td>
  </tr>
</table>
</form>

<form name="list_form" method="POST" action="{PHP_SELF}?m=comment.comment_do&page={$pageCurrent}" onSubmit="return checkDelForm();">
    <table width="100%" cellspacing="0" cellpadding="0" border="0" class="t_list">
      <tbody><tr>
      <th>&nbsp;</th>
        <th width="5%">编号</th>
        <th width="35%">应聘人</th>
        <th width="10%">应聘类型</th>        
        <th width="10%">IP地址</th>        
        <th width="23%">时间</th>                
        <th width="10%">显示状态</th>        
        <th width="8%">管理</th>
      </tr>
	  <!--{if $ErrorMsg}-->
	  <tr>
	    <td height=23 colspan=7 class=forumRowHigh align=center>$ErrorMsg</td>
	  </tr>
	  <!--{/if}-->      
      <!--{loop $rs $k $v}-->
      <tr onmouseout="this.style.background='#fff'" onmouseover="this.style.background='#f6f9fd'" style="background: none repeat scroll 0% 0% rgb(255, 255, 255);">
      
      <td><input type="checkbox" value="$v[comment_id]" name="id_a[]"></td>
      <td>$v[comment_id]</td>
      <td class="td_left"><a href="{PHP_SELF}?m=comment.add&amp;comment_id=$v[comment_id]">$v[comment_author]</a></td>
      <td>$v[showtype]</td>      
      <td>$v[comment_author_ip]</td>
      <td>$v[time]</td>   
      <td id="type_$v[comment_id]"><a style="cursor:pointer" onclick="changeCommentType($v[comment_id],$v[comment_approved])" {if $v[comment_approved]==1}title="点击变为隐藏状态" class="yes"{elseif $v[comment_approved]==0}title="点击变为显示状态" class="no"{/if}>$v[type]</a></td>                   
      <td><a href="{PHP_SELF}?m=comment.show&amp;comment_id=$v[comment_id]">查看</a> | <a href="{PHP_SELF}?m=comment.del&amp;comment_id=$v[comment_id]">删除</a></td>
      </tr>
      <!--{/loop}-->      
      <tr style="background: none repeat scroll 0% 0% rgb(248, 248, 248);">
              <td><input type="checkbox" name="select_all_btn" onclick="select_fx();"></td>
              <td><select name="comment_do" id='comment_do'>$comment_do_ary_option</select></td>              
              <td class="td_left" colspan="7">
            <input type="submit" onclick="return confirm('确定要执行这次操作吗？')" class="btn02" value="确定" name="Submit">
      </td></tr>
      </tbody></table>
      </form>
      {$page}
<!--{/if}-->     
</div>
</div>
</body>
</html>